<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use DB;
use App\Http\Requests;
use App\Http\Controllers\Controller;

class NewsController extends Controller
{
    public function news(Request $request)
    {
        $id = $request->input('id');
        $res = DB::table('news')->where('id',$id)->first();
        return view('/web/member/Member_News',['res'=>$res]);
    }
}
